Splitting trajectories

Binder IPYNB HTML

Gaps are quite common in trajectories. For example, GPS tracks may contain gaps if moving objects enter tunnels where GPS reception is lost. In other use cases, moving objects may leave the observation area for longer time before returning and continuing their recorded track.

Depending on the use case, we therefore might want to split trajectories at observation gaps that exceed a certain minimum duration:

ObservationGapSplitter

Split the trajectory where then are no observations for at least two minutes:

StopSplitter

Split the trajectory where observations stay within 30 meters for at least 1 minute. Discard created trajectories that are shorter than 500 meters long:

SpeedSplitter

Split the trajectory where the speed is below one meters per second for at least five minutes: